Capsule API Example
Loading...
Searching...
No Matches
CResistances.h
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
5#include "CDefinesPrivate.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
16CLC_STRUCT_WNN(Resistances, clCResistance, device);
17
24CL_DLL int32_t clCResistance_GetCount(clCResistance resistance) NOEXCEPT;
32CL_DLL const char* clCResistance_GetChannelName(clCResistance resistance, int32_t index) NOEXCEPT;
40CL_DLL float clCResistance_GetValue(clCResistance resistance, int32_t index) NOEXCEPT;
41
42#ifdef __cplusplus
43}
44#endif
#define NOEXCEPT
Definition CDefinesPrivate.h:82
#define CL_DLL
Definition CDefinesPrivate.h:51
CL_DLL int32_t clCResistance_GetCount(clCResistance resistance) NOEXCEPT
Get total number of resistance channels.
CL_DLL const char * clCResistance_GetChannelName(clCResistance resistance, int32_t index) NOEXCEPT
Get channel name by index.
CL_DLL float clCResistance_GetValue(clCResistance resistance, int32_t index) NOEXCEPT
Get channel resistance by index.
CLC_STRUCT_WNN(Resistances, clCResistance, device)
Used to receive channel resistances from Capsule.